<?php
/*name:单位控制器
 *time:2017/4/12
 * 王加明
 * */
namespace app\hongyanche\controller;
class Business{
    //主界面
	function index(){
        if(!model('user')->logined()){
    		return view('login');
        }
        $unit = model('unit');
        if(!$unit->isActive()['state']){
            return view('register');
        }
        return view('console');
	}

    function register_step1(){return view();}
    function register_step2(){return view();}
    function register_step3(){return view();}
    
}